﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace IRC.IRepairClouds.WebClient.Controls.CaseDetail
{
    [assembly: WebResource("IRC.IRepairClouds.WebClient.Controls.CaseDetail.CaseDetail.debug.js", "text/javascript")]
    [assembly: WebResource("IRC.IRepairClouds.WebClient.Controls.CaseDetail.CaseDetail.js", "text/javascript")]

    public partial class CaseDetail :  ScriptControl
    {
        public static IEnumerable<ScriptReference> GetScriptReferencesStatic()
        {
            yield return new ScriptReference("IRC.IRepairClouds.WebClient.Controls.CaseDetail.CaseDetail.js", "IRC.IRepairClouds.WebClient");
        }

        public override IEnumerable<ScriptDescriptor> GetScriptDescriptors()
        {
            ScriptControlDescriptor descriptor = new ScriptControlDescriptor("IRepairClouds.Controls.CaseDetail.CaseDetail", null);
            yield return descriptor;
        }

        public override IEnumerable<ScriptReference> GetScriptReferences()
        {
            return GetScriptReferencesStatic();
        }
    }
}